# -*- utf-8 -*-
from rest_framework import serializers

from apps.data_visual.models import TableNameAlias, FieldNameAlias


class TableNameAliasSerializer(serializers.ModelSerializer):
    class Meta:
        fields = '__all__'
        model = TableNameAlias


class FieldNameAliasSerializer(serializers.ModelSerializer):
    class Meta:
        fields = '__all__'
        model = FieldNameAlias
